package org.xshop.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

import top.ibase4j.core.base.BaseModel;

/**
 * <p>
 * 商品类型属性
 * </p>
 *
 * @author ShenHuaJie
 * @since 2017-03-19
 */
@TableName("t_goods_type_attribute")
@SuppressWarnings("serial")
public class TGoodsTypeAttribute extends BaseModel {

    /**
     * 商品类型
     */
    @TableField("goods_type")
    private String goodsType;
    /**
     * 商品属性
     */
    @TableField("attribute_name")
    private String attributeName;
    /**
     * 是否可选
     */
    @TableField("is_optional")
    private String isOptional;
    /**
     * 录入方式
     */
    @TableField("input_style")
    private String inputStyle;
    /**
     * 可选值
     */
    @TableField("options_")
    private String options;
    /**
     * 排序
     */
    @TableField("sort_no")
    private Integer sortNo;

    @TableField(exist = false)
    private String goodsTypeName;

    public String getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(String goodsType) {
        this.goodsType = goodsType;
    }

    public String getAttributeName() {
        return attributeName;
    }

    public void setAttributeName(String attributeName) {
        this.attributeName = attributeName;
    }

    public String getIsOptional() {
        return isOptional;
    }

    public void setIsOptional(String isOptional) {
        this.isOptional = isOptional;
    }

    public String getInputStyle() {
        return inputStyle;
    }

    public void setInputStyle(String inputStyle) {
        this.inputStyle = inputStyle;
    }

    public String getOptions() {
        return options;
    }

    public void setOptions(String options) {
        this.options = options;
    }

    public Integer getSortNo() {
        return sortNo;
    }

    public void setSortNo(Integer sortNo) {
        this.sortNo = sortNo;
    }

    public String getGoodsTypeName() {
        return goodsTypeName;
    }

    public void setGoodsTypeName(String goodsTypeName) {
        this.goodsTypeName = goodsTypeName;
    }
}